package com.kust.orderService.client;

import com.kust.serviceBase.orderVo.memberOrder;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 马强
 * @Description
 * @create 2022-07-05 16:20
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    @PostMapping("/ucenter/member/getUserInfoOrder/{id}")
    public memberOrder getUserInfoOrder(@PathVariable("id") String id);
}
